package com.yonyou.gmcc.gateway.wechat.service.interfaces;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

import com.yonyou.gmcc.gateway.wechat.common.ApiVersionConsts;

@FeignClient(name="service-wechat" )
public interface SendMessageDoingServiceInterface {
	
	@RequestMapping(value = ApiVersionConsts.BASE_PATH+"/"+ApiVersionConsts.VERSION+"/messageService"+"/sendTxtMessage/{openid}/{message}", method = RequestMethod.GET,consumes = "application/json;UTF-8")
	String sendTxtMessage(@PathVariable("openid") String openid,@PathVariable("message") String message) ;
}
